package com.ruoyi.eam.mapper;

import java.util.List;
import com.ruoyi.eam.doman.EamMaintain;

/**
 * 资产维修Mapper接口
 *
 * @author xl
 * @date 2024-07-16
 */
public interface EamMaintainMapper
{
    /**
     * 查询资产维修
     *
     * @param maintainId 资产维修主键
     * @return 资产维修
     */
    public EamMaintain selectEamMaintainByMaintainId(Long maintainId);

    /**
     * 查询资产维修列表
     *
     * @param eamMaintain 资产维修
     * @return 资产维修集合
     */
    public List<EamMaintain> selectEamMaintainList(EamMaintain eamMaintain);

    /**
     * 新增资产维修
     *
     * @param eamMaintain 资产维修
     * @return 结果
     */
    public int insertEamMaintain(EamMaintain eamMaintain);

    /**
     * 修改资产维修
     *
     * @param eamMaintain 资产维修
     * @return 结果
     */
    public int updateEamMaintain(EamMaintain eamMaintain);

    /**
     * 删除资产维修
     *
     * @param maintainId 资产维修主键
     * @return 结果
     */
    public int deleteEamMaintainByMaintainId(Long maintainId);

    /**
     * 批量删除资产维修
     *
     * @param maintainIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEamMaintainByMaintainIds(Long[] maintainIds);

    public List<EamMaintain> queryEamMaintainList();
}
